﻿using Nop.Core.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Core.Infrastructure.DependencyManagement
{
    public class ContainerConfigurer
    {
        public virtual void Configure(IEngine engine, ContainerManager containerManager, NopConfig configuration)
        {
            containerManager.AddComponentInstance<NopConfig>(configuration, "Nop.configuration");
            containerManager.AddComponentInstance<IEngine>(engine, "Nop.engine");
            containerManager.AddComponentInstance<ContainerConfigurer>(this, "nop.containerConfigurer");


        }
    }
}
